package com.gqyin.demo.dao;

import com.gqyin.demo.domain.User;
import com.gqyin.demo.domain.UserQueryParam;
import org.springframework.data.domain.Page;

/**
 * @author guiqing.yin
 * 2024-04-07 16:47
 */
public interface UserRepository extends BaseRepository<User, String> {

    User findByName(String name);

    Page<User> query(UserQueryParam queryParam);
}
